from django.conf.urls import url

from accounts.views import LoginView, RegisterView, LogoutView

app_name = 'accounts'

urlpatterns = [
    # 登录
    url(r'^login', LoginView.as_view(), name='login'),
    # 退出登录
    url(r'^logout/$', LogoutView.as_view(), name='logout'),
    url(r'^register/$', RegisterView.as_view(), name='register'),
]
